import Login from '../pages/login/Login';
import Register from '../pages/register/Register';
import BasicLayout from '../layout/BasicLayout/BasicLayout'
import Manage from '../pages/manage/Manage'
const routes = [
    {
        path: "/login",
        component: Login,
        exact: true,
        auth: false
    },
    {
        path: "/",
        component: BasicLayout,
        exact: true,
        auth: true,
        child: [
            {
                path: "/",
                component: Manage,
                exact: true,
                auth: true,
            }
        ]
    }, {
        path: "/register",
        component: Register,
        exact: true,
        auth: false
    }
]
export default routes
